package com.hp.dao;


import com.hp.entity.Message;

import java.util.List;

public interface MessageDao {

	public List<Message> findAll();

	public void add(Message message);

	public void delete(String id);

	public void updatestatus(Message message);

	public List<Message> findByStatusIsY();

	public Message findById(String id);

}
